package com.example.demo.dao;

import com.example.demo.vo.Goods;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 声明是一个Mapper,与springbootApplication中的@MapperScan二选一写上即可
 */
@Mapper
@Repository
public interface GoodsMapper {

    List<Goods> findGoodsList(Goods goods);

    void insert(Goods goods);

    void batchUpdate(List<Goods> goodsList);


}